package xyz.yeidi.service.api;

import xyz.yeidi.pojo.Business;

import java.util.List;

/**
 * @Author JIP
 * @Date 2021-08-02 19:51
 * @Version 1.0
 * @Describe :
 */
public interface BusinessService {
    //获取所有的商家
    public List<Business> getAllBusiness();

    //通过id获取商家
    public Business getbusinessByid(Integer id);

    //根据typeId获取商家
    public List<Business> getBusinessByTypeId(Integer typeId);

    //根据商家姓名模糊查询商家
    public List<Business> searchBusinessByName(String businessName);
}
